<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<html>
<head>
<style>

</style>
</head>
<body marginheight="0">
<div id="left">
<p>
<table class=lst>
<tr><td><h1>已有软件列表：</h1></td><td><div align=center>
<form name="frm_order" method="post">
选择排序方式：<select name="o"
	onChange="javascript:frm_order.submit();">
	<option value="0" <c:if test="${o=='0'}">Selected</c:if>>最新的软件</option>
	<option value="4" <c:if test="${o=='4'}">Selected</c:if>>最热的软件</option>
</select>

</form>
</div></td>
</tr>
</table>

共有软件${page.count}个,每页显示${page.pageSize}条,当前显示 第${page.pageNum}页/共${page.pageCount}页&nbsp;&nbsp; 
<c:if test="${page.pageCount>1}">
<c:forEach var="i" begin="1" end="${page.pageCount}" step="1">
<c:choose>
<c:when test="${i==page.pageNum}">${i}</c:when>
<c:otherwise ><a href="listRootTag.html?page=${i}&o=${o}">${i}</a></c:otherwise>
</c:choose>
 </c:forEach>
</c:if>

<table class=lst>
	<c:forEach items="${page.list}" var="tag">
<%@  include   file="/include/rootTag.jsp"%>
	</c:forEach>
</table>
<div align="center" style="background-color:#FFFFFF;">
 <c:if
	test="${page.pageNum>1}">
	<a href="listRootTag.html?page=${page.pageNum-1}&o=${o}">上一页</a>
</c:if> <c:if test="${page.pageCount>page.pageNum}">
	<a href="listRootTag.html?page=${page.pageNum+1}&o=${o}">下一页</a>
</c:if> 
</div>
</div>
<div id="right"><jsp:include page="/include/openSite.jsp" /></div>
</body>
</html>
